﻿<%@ Page Title="About Us" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="About.aspx.cs" Inherits="SampleWeb.About" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        About
    </h2>
    <p>
        Add something to the session
    </p>
    <p>Key: <asp:TextBox ID="txtKey" runat="server" /> Value: <asp:TextBox ID="txtValue" runat="server" /> 
        <asp:Button ID="cmdAdd" runat="server" Text="Add" onclick="cmdAdd_Click" /></p>
	
	<asp:Repeater ID="rptSessionItems" runat="server" >
		<HeaderTemplate><table cellpadding="5" border="1"><tr><th>Key</th><th>Value</th></tr></HeaderTemplate>
		<ItemTemplate><tr><td><%# Eval("Key") %></td><td><%# Eval("Value") %></td></tr></ItemTemplate>
		<FooterTemplate></table></FooterTemplate>
	</asp:Repeater>

    <p>Clear Session <asp:Button ID="cmdClearSession" runat="server" Text="Clear"
            onclick="cmdClearSession_Click" /></p>
</asp:Content>
